<extend name="Public:base" />
<block name="title"><title>心e购-账户信息</title></block>
<block name="body">
	<header class="mui-bar mui-bar-nav">
		<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
		<h1 class="mui-title">账户信息</h1>
	</header>
	<div class="mui-content">
		<div class="form_box">
			<form action="" method="post">
				<div class="form-group">
					<label>昵称</label>
					<input type="text" class="form-control" name="username" value="{$user_data.username}" placeholder="请输入您的昵称">
				</div>
				<div class="form-group">
					<label>邮箱</label>
					<input type="email" class="form-control" name="email" value="{$user_data.email}" placeholder="请输入您的邮箱">
				</div>
				<div class="form-group">
					<label>真实姓名</label>
					<input type="text" class="form-control" name="realname" value="{$user_data.realname}" placeholder="请输入您的真实姓名">
				</div>
				<div class="form-group">
					<label>性别</label>
					<label style="display: inline"><input name="sex" type="radio" value="3" <if condition="($user_data.sex EQ null) || ($user_data.sex EQ 3)">checked</if>>保密</label>
					<label style="display: inline"><input name="sex" type="radio" value="2" <if condition="$user_data.sex EQ 2">checked</if>>女</label>
					<label style="display: inline"><input name="sex" type="radio" value="1" <if condition="$user_data.sex EQ 1">checked</if>>男</label>
				</div>
				<div class="mui-text-center">
					<button type="submit" class="mui-btn mui-btn-danger">确认修改</button>
				</div>
			</form>
			
		</div>
	</div>
</block>